//
//  XSCatViewController.m
//  MeiLiYiChu
//
//  Created by mac on 16/2/23.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "XSCatViewController.h"

@interface XSCatViewController ()

@end

@implementation XSCatViewController


- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.title =@"购物车";
    UIImageView * imageView =[[UIImageView alloc]init];
    imageView.center =CGPointMake(self.view.center.x, self.view.center.y-120);
    imageView.bounds =CGRectMake(0, 0, self.view.bounds.size.width-2*100,self.view.bounds.size.width-2*100);
    imageView.image = [UIImage imageNamed:@"Shopping_Cart_Empty"];
    [self.view addSubview:imageView];
    UILabel * lab =[[UILabel alloc]init];
    lab.center = CGPointMake(self.view.center.x, self.view.center.y);
    lab.bounds =CGRectMake(0, 0, 200, 30);
    lab.text =@"登录才可以查看购物车哦~";
    [self.view addSubview:lab];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
